package com.system.permissiondemo.service;

import com.system.permissiondemo.beans.PageQuery;
import com.system.permissiondemo.beans.PageResult;
import com.system.permissiondemo.dto.UserDTO;
import com.system.permissiondemo.entity.SysUser;
import com.system.permissiondemo.param.UserParam;

public interface SysUserService {

    void save(UserParam param);

    void update(UserParam param);

    SysUser findByKeyword(String keyword);

    Integer deleteById(Integer userId);

    PageResult<UserDTO> getPageByDeptId(Integer deptId, PageQuery page);
}
